All Packages Class Hierarchy This Package Previous Next Index
Class quicktime.app.spaces.Sequencer
java.lang.Object
|
+----quicktime.app.spaces.Sequencer
- public abstract class Sequencer
- extends Object
This interface defines operations that can control the positioning of
a cursor through a sequence of data.
Generally a sequencer will define a get method to retrieve the data
at the current frame. The type of object returned in a get method
is specific to the type of sequencer.
-
kFirstFrame
-
-
kLastFrame
-
-
kLoopForwards
-
-
kLoopPalindrome
-
-
kNoLooping
-
-
Sequencer()
-
-
getCurrentFrame()
- Returns the current frame number
-
getLooping()
- Returns the type of looping behaviour of the Sequencer.
-
setCurrentFrame(int)
- Sets the current frame number.
-
setFrameNext()
-
Sets the current frame number to the next frame.
-
setFramePrevious()
-
Sets the current frame number to the previous frame.
-
setLooping(int)
- Sets the type of looping behaviour of the Sequencer.
-
size()
- Returns the number of frames of the data
which the sequencer is sequencing.
-
toString()
- Returns a string representation of this class.
kNoLooping
public static final int kNoLooping
kLoopForwards
public static final int kLoopForwards
kLoopPalindrome
public static final int kLoopPalindrome
kLastFrame
public static final int kLastFrame
kFirstFrame
public static final int kFirstFrame
Sequencer
public Sequencer()
setLooping
public void setLooping(int flag)
- Sets the type of looping behaviour of the Sequencer.
- Parameters:
- flag - the looping flag
- See Also:
- kNoLooping, kLoopForwards, kLoopPalindrome
getLooping
public int getLooping()
- Returns the type of looping behaviour of the Sequencer.
- Returns:
- the looping behaviour flag
size
public abstract int size()
- Returns the number of frames of the data
which the sequencer is sequencing.
- Returns:
- the current number of frames of the sequencers data sequence
getCurrentFrame
public int getCurrentFrame()
- Returns the current frame number
setCurrentFrame
public void setCurrentFrame(int frameNumber)
- Sets the current frame number. This will observe
correct behaviour given the current state
of the image object it refers to - it will loop, etc.
- Parameters:
- frameNumber - the new current frame number to set to.
setFrameNext
public void setFrameNext()
- Sets the current frame number to the next frame.
setFramePrevious
public void setFramePrevious()
- Sets the current frame number to the previous frame.
Calling previousFrame where the index of the frame is
currently the first index and looping is set to normal has no effect.
toString
public String toString()
- Returns a string representation of this class.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index